package o;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import com.huawei.gamebox.service.welfare.gift.bean.PlayerRoleInfo;
import o.exp.d;
import o.exp.j;

public class fck extends fcd {
    private PlayerRoleInfo ˋ = null;
    private String ˏ;

    public void ˏ(PlayerRoleInfo playerRoleInfo) {
        this.ˋ = playerRoleInfo;
    }

    public void ॱॱ(String str) {
        this.ˏ = str;
    }

    public void ˎ(Context context) {
        View inflate = LayoutInflater.from(context).inflate(j.ˎˎ, null);
        TextView textView = (TextView) inflate.findViewById(d.י);
        TextView textView2 = (TextView) inflate.findViewById(d.ـॱ);
        TextView textView3 = (TextView) inflate.findViewById(d.ٴ);
        View findViewById = inflate.findViewById(d.ﾞ);
        textView.setText(this.ˏ);
        if (this.ˋ != null) {
            textView2.setText(this.ˋ.ॱ());
            textView3.setText(this.ˋ.ˏ());
        } else {
            findViewById.setVisibility(8);
        }
        ˊ(inflate);
    }
}
